package com.GlobalPaint.app.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Administrator on 2017/2/28 0028.
 */

public class LoginBean {

    /**
     * errCode : 0
     * errMsg :
     * data : {"ckztid":0,"dept":{"deptID":1,"deptName":"北京林业大学","recordStatus":""},"loginName":"fdy","name":"辅导员",
     * "phone":"15666797133","realName":"测试2","rylbid":1,"sex":0,"token":"42dbd9b2e14944f0b9ae55c2add40c62",
     * "userID":4,"groups":[],"ryzcztid":1,"rysdztid":1,"totalDtgr":0,"zlsj":0,"zwid":4,"userdeptGxs":[{"deptID":10,
     * "deptName":"软件设计1303班","id":4}]}
     */

    public int errCode;
    public String errMsg;
    public DataBean data;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        public Integer zoneId;
        /**
         * ckztid : 0
         * dept : {"deptID":1,"deptName":"北京林业大学","recordStatus":""}
         * loginName : fdy
         * name : 辅导员
         * phone : 15666797133
         * realName : 测试2
         * rylbid : 1
         * sex : 0
         * token : 42dbd9b2e14944f0b9ae55c2add40c62
         * userID : 4
         * groups : []
         * ryzcztid : 1
         * rysdztid : 1
         * totalDtgr : 0
         * zlsj : 0
         * zwid : 4
         * userdeptGxs : [{"deptID":10,"deptName":"软件设计1303班","id":4}]
         */
        public String avatar;
        public int ckztid;
        public DeptBean dept;
        public String loginName;
        public String name;
        public String phone;
        public String realName;
        public int rylbid;
        public int sex;
        public String token;
        public int userID;
        public int ryzcztid;
        public int rysdztid;
        public int totalDtgr;
        public int zlsj;
        public String headerUrl;
        public int zwid;
        public List<?> groups;
        public List<UserdeptGxsBean> userdeptGxs;
        public List<XsJzGxsBean> xsjzGxs;
        public List<XsJzGxsBean> cfuserdeptgxs;
        public int tenantID;
        public List<XsJzGxsBean> getCfuserdeptgxs() {
            return cfuserdeptgxs;
        }

        public void setCfuserdeptgxs(List<XsJzGxsBean> cfuserdeptgxs) {
            this.cfuserdeptgxs = cfuserdeptgxs;
        }

        public List<XsJzGxsBean> getXsjzGxs() {
            return xsjzGxs;
        }

        public void setXsjzGxs(List<XsJzGxsBean> xsjzGxs) {
            this.xsjzGxs = xsjzGxs;
        }

        public int getTenantID() {
            return tenantID;
        }

        public void setTenantID(int tenantID) {
            this.tenantID = tenantID;
        }





        public int getCkztid() {
            return ckztid;
        }

        public void setCkztid(int ckztid) {
            this.ckztid = ckztid;
        }

        public DeptBean getDept() {
            return dept;
        }

        public void setDept(DeptBean dept) {
            this.dept = dept;
        }

        public String getLoginName() {
            return loginName;
        }

        public void setLoginName(String loginName) {
            this.loginName = loginName;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getRealName() {
            return realName;
        }

        public void setRealName(String realName) {
            this.realName = realName;
        }

        public int getRylbid() {
            return rylbid;
        }

        public void setRylbid(int rylbid) {
            this.rylbid = rylbid;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public int getUserID() {
            return userID;
        }

        public void setUserID(int userID) {
            this.userID = userID;
        }

        public int getRyzcztid() {
            return ryzcztid;
        }

        public void setRyzcztid(int ryzcztid) {
            this.ryzcztid = ryzcztid;
        }

        public int getRysdztid() {
            return rysdztid;
        }

        public void setRysdztid(int rysdztid) {
            this.rysdztid = rysdztid;
        }

        public int getTotalDtgr() {
            return totalDtgr;
        }

        public void setTotalDtgr(int totalDtgr) {
            this.totalDtgr = totalDtgr;
        }

        public int getZlsj() {
            return zlsj;
        }

        public void setZlsj(int zlsj) {
            this.zlsj = zlsj;
        }

        public int getZwid() {
            return zwid;
        }

        public void setZwid(int zwid) {
            this.zwid = zwid;
        }

        public List<?> getGroups() {
            return groups;
        }

        public void setGroups(List<?> groups) {
            this.groups = groups;
        }

        public List<UserdeptGxsBean> getUserdeptGxs() {
            return userdeptGxs;
        }

        public void setUserdeptGxs(List<UserdeptGxsBean> userdeptGxs) {
            this.userdeptGxs = userdeptGxs;
        }

        public static class DeptBean {
            /**
             * deptID : 1
             * deptName : 北京林业大学
             * recordStatus :
             */

            public int deptID;
            public String deptName;
            public String recordStatus;

            public int getDeptID() {
                return deptID;
            }

            public void setDeptID(int deptID) {
                this.deptID = deptID;
            }

            public String getDeptName() {
                return deptName;
            }

            public void setDeptName(String deptName) {
                this.deptName = deptName;
            }

            public String getRecordStatus() {
                return recordStatus;
            }

            public void setRecordStatus(String recordStatus) {
                this.recordStatus = recordStatus;
            }
        }

        public static class UserdeptGxsBean {
            /**
             * deptID : 10
             * deptName : 软件设计1303班
             * id : 4
             */

            private int deptID;
            private String deptName;
            private int id;

            public int getDeptID() {
                return deptID;
            }

            public void setDeptID(int deptID) {
                this.deptID = deptID;
            }

            public String getDeptName() {
                return deptName;
            }

            public void setDeptName(String deptName) {
                this.deptName = deptName;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }

        public static class XsJzGxsBean {

            /**
             * gxid : 1
             * gxname : 父亲
             * id : 1
             * jZRoleID : 1
             * xsid : 7
             * xsname : 测试4
             */

            private int gxid;
            private String gxname;
            private int id;
            private int jzRoleID;
            private int xsid;
            private String xsname;
            public int tenantID;
            private String deptName;
            private String code;
            /**
             * tenant : {"code":"001","delFlag":0,"gjid":156,"id":1,"inOrder":1,"name":"山东科技大学","shengID":370000,
             * "shiID":3702,"jd":120.48874,"wd":36.126277}
             * isValid : 1
             */

            private TenantBean tenant;
            private int isValid;


            public String getTenantName() {
                return tenantName;
            }

            public void setTenantName(String tenantName) {
                this.tenantName = tenantName;
            }

            private String tenantName;
            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getDeptName() {
                return deptName;
            }

            public void setDeptName(String deptName) {
                this.deptName = deptName;
            }

            public int getTenantID() {
                return tenantID;
            }

            public void setTenantID(int tenantID) {
                this.tenantID = tenantID;
            }

            public int getjZRoleID() {
                return jzRoleID;
            }

            public void setjZRoleID(int jZRoleID) {
                this.jzRoleID = jZRoleID;
            }

            public int getGxid() {
                return gxid;
            }

            public void setGxid(int gxid) {
                this.gxid = gxid;
            }

            public String getGxname() {
                return gxname;
            }

            public void setGxname(String gxname) {
                this.gxname = gxname;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getXsid() {
                return xsid;
            }

            public void setXsid(int xsid) {
                this.xsid = xsid;
            }

            public String getXsname() {
                return xsname;
            }

            public void setXsname(String xsname) {
                this.xsname = xsname;
            }

            public TenantBean getTenant() {
                return tenant;
            }

            public void setTenant(TenantBean tenant) {
                this.tenant = tenant;
            }

            public int getIsValid() {
                return isValid;
            }

            public void setIsValid(int isValid) {
                this.isValid = isValid;
            }

            public static class TenantBean {
                /**
                 * code : 001
                 * delFlag : 0
                 * gjid : 156
                 * id : 1
                 * inOrder : 1
                 * name : 山东科技大学
                 * shengID : 370000
                 * shiID : 3702
                 * jd : 120.48874
                 * wd : 36.126277
                 */

                @SerializedName("code")
                private String codeX;
                private int delFlag;
                private int gjid;
                @SerializedName("id")
                private int idX;
                private int inOrder;
                private String name;
                private int shengID;
                private int shiID;
                private double jd;
                private double wd;
                private int level;

                public int getLevel() {
                    return level;
                }

                public void setLevel(int level) {
                    this.level = level;
                }
                public String getCodeX() {
                    return codeX;
                }

                public void setCodeX(String codeX) {
                    this.codeX = codeX;
                }

                public int getDelFlag() {
                    return delFlag;
                }

                public void setDelFlag(int delFlag) {
                    this.delFlag = delFlag;
                }

                public int getGjid() {
                    return gjid;
                }

                public void setGjid(int gjid) {
                    this.gjid = gjid;
                }

                public int getIdX() {
                    return idX;
                }

                public void setIdX(int idX) {
                    this.idX = idX;
                }

                public int getInOrder() {
                    return inOrder;
                }

                public void setInOrder(int inOrder) {
                    this.inOrder = inOrder;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getShengID() {
                    return shengID;
                }

                public void setShengID(int shengID) {
                    this.shengID = shengID;
                }

                public int getShiID() {
                    return shiID;
                }

                public void setShiID(int shiID) {
                    this.shiID = shiID;
                }

                public double getJd() {
                    return jd;
                }

                public void setJd(double jd) {
                    this.jd = jd;
                }

                public double getWd() {
                    return wd;
                }

                public void setWd(double wd) {
                    this.wd = wd;
                }
            }
        }
    }
}
